package com.example.socialwebserver.service;

import com.example.socialwebserver.pojo.ActivityCreateDTO;
import com.example.socialwebserver.pojo.ActivityJoinDAO;
import com.example.socialwebserver.pojo.ActivityUpdateDTO;
import com.example.socialwebserver.pojo.ActivityVO;

import java.util.List;

public interface ActivityService {
    public boolean createActivity(ActivityCreateDTO activityCreateDTO);
    public boolean updateActivity(ActivityUpdateDTO activityUpdateDTO);
    public boolean joinActivity(ActivityJoinDAO activityJoinDTO);
    public boolean quitActivity(ActivityJoinDAO activityJoinDAO);
    public boolean deleteActivity(Integer activityId);
    public List<ActivityVO> selectByClassId(Integer categoryId);
    public ActivityVO selectById(Integer activityId);
    public List<ActivityVO> selectAll();
}
